package org.jeecg.modules.sys_captcha.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@TableName("sys_captcha")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_captcha对象", description="图形验证码")
public class SysCaptcha {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    // 验证码UUID
    private String uuid;
    // 验证码文本
    private String code;
    // 过期时间
    private Date expireTime;
}
